package com.cn.lyl.lawyer.dao;

import com.cn.lyl.lawyer.model.entity.UserModel;

import java.util.List;

public interface UserMapper {

    int add(UserModel UserModel);

    int updateInfo(UserModel UserModel);

    UserModel findByUsernameAndPassword(UserModel userModel);

    int delete(Integer id);

    UserModel findById(Integer id);

    List<UserModel> findAll(UserModel userModel);

    int updateEnable(Integer id);

    int countFindAll(UserModel userModel);

    UserModel findByUserName(UserModel userModel);

}
